Fix Python shell completion test failures
authorLiu Hui <liuhui1610@gmail.com>
Wed, 21 Feb 2024 04:40:06 +0000 (12:40 +0800)
committerBasil L. Contovounesios <basil@contovou.net>
Wed, 28 Feb 2024 14:25:56 +0000 (15:25 +0100)
commit8a2d013be37d8c3d3a25cfe1da505cd2e27dda5c
tree220856fb62319b3eb87c0cd03382fc81ee0eb88e
parent3412b64ac8851a0fa8e55c6319d2e710ae27a74c
Fix Python shell completion test failures

* test/lisp/progmodes/python-tests.el
(python-tests-with-temp-buffer-with-shell): Set XDG_CACHE_HOME
to a temporary directory.
(python-tests--pythonstartup-file): New function.
(python-shell-completion-at-point-jedi-completer)
(python-shell-completion-at-point-ipython): Use Jedi as the
native completion backend when possible.  (bug#68559)
test/lisp/progmodes/python-tests.el